package com.platform.modules.custmoer.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class CustomerRecordDto {
    private String record;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    //timezone="GMT+8" 解决：如果日期是2020-12-13 00:00:00，解析出来会少一天，比如2020-12-12
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date nextTime;

    /**
     * 跟踪客户id
     */
    private String custId;

    private String type; //上门拜访
}
